package com.redhipps.hips.client.model;

import java.util.List;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Institution extends Model {

  @Persistent
  private String name;

  @Persistent
  private List<Doctor> doctors;

  public Institution() {}

  @Deprecated
  public Institution(PythonDatastoreKey key) {
    super(key);
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public List<Doctor> getDoctors() {
    return doctors;
  }

  public void setDoctors(List<Doctor> doctors) {
    this.doctors = doctors;
  }

}
